<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>


<c:forEach items="${activities}" var="activity" varStatus="idx">
    <li class="activity-list-item">
        <div class="activity-head">
            <div class="activity-class">讲座</div>
            <div class="activity-theme">${activity.activityName}</div>
            <div class="activity-holder">${activity.activityPubName}</div>
        </div>
        <div class="activity-info">
            <img src="<spring:url value="/images/activity-line.png"/>">
            <div class="activity-when"><fmt:formatDate value="${activity.activityDate}"  type="date" dateStyle="default"/></div>
            <%--<div class="activity-where">{{讲座地点}}</div>--%>
            <a href="<spring:url value="/activityMain"/>?aid=${activity.activityId}" ><div class="activity-more">更多>></div></a>
        </div>
        <hr class="activity-hr">
    </li>
</c:forEach>
